package com.example.zqh.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zqh
 * @since 2022-09-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Food对象", description="")
@Accessors(chain = true)
public class Food implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "食物表主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "食物名字")
    private String name;

    @ApiModelProperty(value = "配料表")
    private String ingredientList;

    @ApiModelProperty(value = "食物价格")
    private Double price;

    @ApiModelProperty(value = "食物描述")
    private String foodDesc;

    @ApiModelProperty(value = "吃了以后的好处")
    private String benefit;

    @ApiModelProperty(value = "食物图片")
    private String pic;

    @ApiModelProperty(value = "所属商店id")
    private Integer shopId;

    @ApiModelProperty(value = "食物是否热销（0热销1不热销）")
    private Integer foodType;


}
